package by.grsu.hdm.devices;

import by.grsu.hdm.model.HomeDevice;
import by.grsu.hdm.model.IRemoteControl;

public class WashingMachine extends HomeDevice implements IRemoteControl{
	
	protected WashingMachine() {
		defaultConfiguration();
	}
	
	public WashingMachine(String id) {
		super(id);
	}

	@Override
	protected void afterTurningOn() {
		System.out.println(getDeviceId() + " device on");
	}
	
	@Override
	protected void beforeTurningOff() {
		System.out.println(getDeviceId() + " is preparing for shutdown");
		System.out.println(getDeviceId() + " device off");	
	}

	@Override
	public void stop() {
		System.out.println(getDeviceId() + " you click on the stop");
		
	}

	@Override
	public void pause() {
		System.out.println(getDeviceId() + " you click on the pause");
		
	}

	@Override
	public void play() {
		System.out.println(getDeviceId() + " you click on the play");
		
	}
}
